TEMPLATE = app
CONFIG += console
#CONFIG -= app_bundle
#CONFIG -= qt

#CONFIG += c++11

TARGET = ffplay

SOURCES += \
    cmdutils.c \
    ffplay.c

INCLUDEPATH += $$PWD/../../commonlib/ffmpeg-3.3.2/include
INCLUDEPATH += $$PWD/../../commonlib/sdl2/include
DEPENDPATH += $$PWD/../../commonlib/ffmpeg-3.3.2/include
DEPENDPATH += $$PWD/../../commonlib/sdl2/include

# 对应的avcodec.dll 必须在 在lib目录下或者 "把库dll拷贝到工程debug目录下才能够正确运行"
LIBS += -L$$PWD/../../commonlib/ffmpeg-3.3.2/lib/ \
        -lavcodec -lavformat -lavutil -lswscale -lswresample -lavfilter -lavdevice \
        -L$$PWD/../../commonlib/sdl2/lib/ -lSDL2

HEADERS += \
    cmdutils.h \
    cmdutils_common_opts.h \
    config.h \
    ffmpeg.h \
    ffserver_config.h
